#ifndef PLAYER_HPP
#define PLAYER_HPP

#include <SFML/Graphics.hpp>

class Player {
public:
    Player();
    void update(float dt);
    void render(sf::RenderWindow& window);
    sf::Vector2f getPosition() const;
    void handleInput();
    void move(float dx, float dy);

private:
    sf::RectangleShape shape;
    float speed = 200.f;
    sf::Vector2f velocity;
};

#endif // PLAYER_HPP